package com.bruce.pattern.behavioral.mediator;

/**
 * Created by bruce on 2018/11/11 15:16
 */
public class MainTest {


    public static void main(String[] args) {

        User user1 = new User("小敏");
        User user2 = new User("小明");

        user1.sendMessage("hello 小明");
        user2.sendMessage("hello 小敏");


    }



}
